package com.hhss.qishi.entity.system;

import com.hhss.qishi.entity.common.BasePojo;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Author :Administrator
 * @Description 菜单 共3级
 * @Date :2019-05-05 10:40.
 */
@Table(name = "sys_menu")
public class Menu extends BasePojo {

	/**
	 * 父id
	 * -1为顶级
	 */
	@Column(name = "pid")
	private String pid;

	/**
	 * 菜单名称
	 */
	@Column(name = "menu_name")
	private String menuName;

	/**
	 * 菜单等级，一级：1，二级：2，三级：3
	 * 默认1
	 */
	@Column(name = "menu_level")
	private Integer menuLevel;

	/**
	 * 菜单等级的路径
	 */
	@Column(name = "menu_path")
	private String menuPath;

	/**
	 * 菜单跳转地址
	 */
	@Column(name = "menu_url")
	private String menuUrl;

	/**
	 * 菜单类型 1：ftl跳转；2：html跳转
	 */
	@Column(name = "menu_type")
	private Integer menuType;

	/**
	 * 排序
	 */
	@Column(name = "menu_sort")
	private String menuSort;

	/**
	 * 菜单介绍
	 */
	@Column(name = "menu_info")
	private String menuInfo;

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Integer getMenuLevel() {
		return menuLevel;
	}

	public void setMenuLevel(Integer menuLevel) {
		this.menuLevel = menuLevel;
	}

	public String getMenuPath() {
		return menuPath;
	}

	public void setMenuPath(String menuPath) {
		this.menuPath = menuPath;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public Integer getMenuType() {
		return menuType;
	}

	public void setMenuType(Integer menuType) {
		this.menuType = menuType;
	}

	public String getMenuSort() {
		return menuSort;
	}

	public void setMenuSort(String menuSort) {
		this.menuSort = menuSort;
	}

	public String getMenuInfo() {
		return menuInfo;
	}

	public void setMenuInfo(String menuInfo) {
		this.menuInfo = menuInfo;
	}
}
